home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0399 / 94 < prev    next >
Internet Message Format  |  1994-08-27  |  2KB

  1. Date: 20 Feb 1993 19:51:11 +0100 (MET)
  2. From: Bart Schuller <schuller@dutiea.twi.tudelft.nl>
  3. Subject: Toswin patch for cursor-bug
  4. To: mint@atari.archive.umich.edu
  5. Message-Id: <9302201851.AA03464@dutiea.twi.tudelft.nl>
  6. Mime-Version: 1.0
  7.  
  8. Hello,
  9.  
  10. For those of you who had problems with toswin in a colo(u)r mode with
  11. NVDI installed, I have a simple patch that works for me. It follows
  12. below.
  13.  
  14. The bug would cause the cursor to leave a trail.
  15.  
  16.             Bart.
  17. -------------------------------------------------------------------------------
  18. Bart Schuller    (NeXTmail OK) | What is a 're-mix?' "A total cheat"...
  19. schuller@dutiea.twi.tudelft.nl | ..."A gift"-- when it's Frankie...         TCH
  20. -------------------------------------------------------------------------------
  21.  
  22. *** old/textwin.c    Wed Oct 28 02:24:32 1992
  23. --- src/textwin.c    Sat Feb 20 01:50:08 1993
  24. ***************
  25. *** 132,140 ****
  26.           x2 = t->win->wi_x + t->win->wi_w;
  27.       }
  28.   
  29. -     set_wrmode(2);        /* transparent text */
  30.       if (fillcolor != 0 || (force != CLEARED)) {
  31.       /* the background may not be set correctly, so we do it here */
  32.           temp[0] = x;
  33.           temp[1] = y;
  34.           temp[2] = x2 - 1;
  35. --- 132,140 ----
  36.           x2 = t->win->wi_x + t->win->wi_w;
  37.       }
  38.   
  39.       if (fillcolor != 0 || (force != CLEARED)) {
  40.       /* the background may not be set correctly, so we do it here */
  41. +         set_wrmode(1);        /* ++schuller: solid bar */
  42.           temp[0] = x;
  43.           temp[1] = y;
  44.           temp[2] = x2 - 1;
  45. ***************
  46. *** 144,149 ****
  47. --- 144,150 ----
  48.           v_bar(vdi_handle, temp);
  49.       }
  50.   
  51. +     set_wrmode(2);        /* transparent text */
  52.   /* skip leading blanks -- we don't need to draw them again! */
  53.       if (!(flag & CE_UNDERLINE)) {
  54.           while (*buf == ' ') {
  55.  
  56.